package com.ruoyi.plasma.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回访管理对象 plasma_follow_up
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class PlasmaFollowUp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 浆员编号 */
    @Excel(name = "浆员编号")
    private String donorNo;

    /** 浆员姓名 */
    @Excel(name = "浆员姓名")
    private String donorName;

    /** 回访日期 */
    @Excel(name = "回访日期")
    private String followUpDate;

    /** 回访结果 */
    @Excel(name = "回访结果")
    private String result;

    /** 是否采浆 */
    @Excel(name = "是否采浆")
    private Integer isCollected;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    /** 回访类型 */
    @Excel(name = "回访类型")
    private String type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDonorNo(String donorNo) 
    {
        this.donorNo = donorNo;
    }

    public String getDonorNo() 
    {
        return donorNo;
    }
    public void setDonorName(String donorName) 
    {
        this.donorName = donorName;
    }

    public String getDonorName() 
    {
        return donorName;
    }
    public void setFollowUpDate(String followUpDate) 
    {
        this.followUpDate = followUpDate;
    }

    public String getFollowUpDate() 
    {
        return followUpDate;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setIsCollected(Integer isCollected) 
    {
        this.isCollected = isCollected;
    }

    public Integer getIsCollected() 
    {
        return isCollected;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("donorNo", getDonorNo())
            .append("donorName", getDonorName())
            .append("followUpDate", getFollowUpDate())
            .append("result", getResult())
            .append("isCollected", getIsCollected())
            .append("insertTime", getInsertTime())
            .append("type", getType())
            .toString();
    }
}
